package dnd.extension.data
{
	
	/**
	 * ...
	 * @author Hugh Hoang
	 */
	public class SubtitleItem
	{
		private var _text:String;
		private var _timeStart:Number;
		private var _timeEnd:Number;
		
		public function get text():String
		{
			return _text;
		}
		
		public function set text(value:String):void
		{
			_text = value;
		}
		
		public function get timeStart():Number
		{
			return _timeStart;
		}
		
		public function set timeStart(value:Number):void
		{
			_timeStart = value;
		}
		
		public function get timeEnd():Number
		{
			return _timeEnd;
		}
		
		public function set timeEnd(value:Number):void
		{
			_timeEnd = value;
		}
		
		/**
		 * Load the XML node into the instance properties
		 * @param	xml
		 */
		public function LoadXML(xml:XML):void {
			_text = xml.text;
			_timeStart = xml.start;
			_timeEnd = xml.end;
		}
	}
}